﻿using GalaSoft.MvvmLight.Command;
using NicoView.ViewModel.Platform.Message;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;

namespace NicoView.ViewModel.Platform
{
    public class NicoViewBouyomichanViewModel:NicoViewViewModelBase
    {
        public NicoViewBouyomichanViewModel()
        {
            this.bouyomichanPathCommand = null;
        }



        private ICommand bouyomichanPathCommand;
        public ICommand BouyomichanPathCommand
        {
            get
            {
                if (this.bouyomichanPathCommand == null) bouyomichanPathCommand = new RelayCommand(() =>
                {
                    this.MessengerInstance.Send(new NicoViewBouyomichanPathSetRequestMessage());
                });
                return this.bouyomichanPathCommand;
            }
        }
    }
}
